package com.decoration.basic.service.impl;

import com.decoration.basic.entity.HomePageCount;
import com.decoration.basic.mapper.HomePageMapper;
import com.decoration.basic.service.HomePageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class HomePageServiceImpl implements HomePageService {
    @Resource
    HomePageMapper homePageMapper;

    /**
     * 管理系统首页统计数据展示
     * @return
     */
    @Override
    public HomePageCount findAll() {
        return homePageMapper.findAll();
    }
}
